identifying compression and stretching of multiple functions